<template>
    <div class="company-user">
        <index-breadcrumb :breadcrumb-list="breadcrumbList"></index-breadcrumb>
        <mjShopOrder :operation-list="operationList" :is-show="showStatus"></mjShopOrder>
    </div>
</template>

<script>
import mjShopOrder from "@/views/mjShopOrder/includes/MjShopOrder";

export default {
    name: "MjShopOrder",
    components: {
        mjShopOrder,
    },
    data() {
        return {
            operationList: [],
            breadcrumbList: [
                {
                    title: "项目管理"
                },
                {
                    title: "爱省鲸订单"
                },
            ],
            showStatus: true,
        };
    },
    created() {
        this.getOperationList();
    },
    methods: {
        backShow() {
            this.showStatus = true
        },
        getOperationList() {
            // this.$store.state.permissionList.forEach(item => {
            //     const [itemName] = item.permission.split(":");
            //     if (itemName === "mjShopOrder") {
            //         this.operationList = item.list.map(listItem => {
            //             return listItem.permission.split(":")[1];
            //         });
            //     }
            // });
        }
    },
};
</script>

<style lang="sass" scoped>

</style>
